package nl.depository.pim.entities;

import java.util.List;

import javax.persistence.Id;

public class Note
{
	@Id
	private String id;
	
	private String title;
	
	private Icon icon;
	
	private EditorText contents;

	private List<Note> notes;
	
	public String getId()
	{
		return id;
	}
	
	public String getTitle()
	{
		return title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public Icon getIcon()
	{
		return icon;
	}

	public void setIcon(Icon icon)
	{
		this.icon = icon;
	}

	public EditorText getContents()
	{
		return contents;
	}

	public void setContents(EditorText contents)
	{
		this.contents = contents;
	}

	public List<Note> getNotes()
	{
		return notes;
	}

	public void setNotes(List<Note> notes)
	{
		this.notes = notes;
	}
}
